import routesContainer from '@/common/components/routesContainer'

//模块part 声明导入
import personManage from '../modulePart/personManage/router'
import createPerson from '../modulePart/createPerson/router'
import salaryManage from '../modulePart/salaryManage/router'
import clockingManage from '../modulePart/clockingManage/router'
import activityManage from '../modulePart/activityManage/router'

const innerRoutes = [
  ...personManage,
  ...createPerson,
  ...salaryManage,
  ...clockingManage,
  ...activityManage
];


//导入路由声明
export default [
  { path: '/',
    component: routesContainer,
    children: innerRoutes.map((item) => ({
      ...item,
    })),
  },
]
